package com.codeyang.vo;

import com.codeyang.domain.UserAddr;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 描述: describe
 *
 * @author CodeYang_Site
 * @version 2021/5/31 21:11
 */
@ApiModel("订单回显示结算对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderResult {
    @ApiModelProperty(value = "用户的收货地址")
    private UserAddr userAddr;
    /**
     * 商家的商品集合
     */
    @ApiModelProperty(value = "商家的商品集合")
    private List<ShopOrderItem> shopCartOrders;

    @ApiModelProperty(value = "留言")
    private String remarks;

    @ApiModelProperty(value = "优惠券集合")
    private List<Long> couponIds;

    @ApiModelProperty(value = "实际金额")
    private BigDecimal actualTotal;

    @ApiModelProperty(value = "运费")
    private BigDecimal transfee;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal shopReduce;

    @ApiModelProperty(value = "订单商品总数")
    private Integer totalCount;

    @ApiModelProperty(value = "总金额")
    private BigDecimal total;

}
